home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Univers Interactif 3
/
INTERACTIF.BIN
/
pc
/
planeten
/
internet
/
lpdaemon.sit
/
lpDaemon ƒ
/
LPD.config
< prev
next >
Wrap
Text File
|
1994-09-13
|
6KB
|
133 lines
#######################################################################################
# Debugging mode may be toggled from the menu, but sometimes we want
# to debug the config so debugging may also be toggled here using
# the DEBUG command.
#
# DEBUG # turn it on....
#
# The NOACTION flag turns off printing. Files are still spooled, but not deleted which
# is useful for debugging, particularly of the control file. Note that lpDaemon does not
# translated line-feeds to carriage returns when spooling files, but does recognise the
# end of line when printing so when examining the control file most Mac text editors
# will show the file as on long line with little boxes where the end of line should be.
#
# NOACTION
#
#######################################################################################
# lpDaemon sends e-mail to the owner of files when errors occur, and to an administrator
# when the log file is cleared. If your setup does not support BSD sendmail uncomment
# the following
#
# NOMAIL
#
#######################################################################################
# If a printer is postscript lpDaemon attempts to query the printer before and after
# printing a file for the number of pages printed. The differences is recorded
# in the log file. Uncomment the following to stop that if it causes troubles.
#
# NOACNT
#
#######################################################################################
# lpDaemon looks in the Laser Writer driver file for the PAP resources as well as the
# selected printer. The default is to look for a file called "LaserWriter" in the
# System Folder under < sys 7 or in the Extensions folder >= 7. If your laser writer
# driver is called something other than LaserWriter uncomment the following and change
# the name.
#
# LASERWRITER "LaserWriter" # the default is LaserWriter
#
#######################################################################################
# RFC1179 tells us that the format for print control file names is :
# cfANNNxxxxx
# where NNN is a3 digit job number and xxxxx is the name of the host that is
# printing. lpDaemon looks for file with the cfA prefix in it's spool folder when
# looking for print jobs. Unfortunately not all systems seem to follow this convention
# so it may be over written here.
#
# CTLFIL cfA # the default is cfA
#
#######################################################################################
# The ADMIN defines an account that will be mailed when the
# log-file is cleared.
#
ADMIN admin@host.domain
#
#######################################################################################
# Each PRINTER defines a name by which a printer is known and some
# information about the printer. If a name contains spaces the
# name string should be quoted with the "
#
# The syntax is :
# PRINTER <name1> PAP|SERIAL <name2> [baud stop parity bits] [POSTSCRIPT]
# where :
# <name1> is the name by which the printer is addressed from the unix host
# this would be the rn entry in the printcap file
# PAP|SERIAL defines whether the printer is connected by AppleTalk or
# a serial connection
# <name2> is the 'Name Binding Protocol' name (the name seen in the chooser),
# or the name of the serial driver (eg ".aout")
# [baud stop parity bits] is only for SERIAL printers. Vaild entries :
# baud:
# 300, 600, 1200, 1800, 2400, 3600
# 4800, 7200, 9600, 19200, 57600
# stop:
# 10: 1 stop bits
# 15: 1 & half stop bits
# 20: 2 stop bits
# parity:
# N: no parity
# O: odd parity
# E: even parity
# bits:
# 5, 6, 7, 8
#
# POSTSCRIPT is used only for postscript printers, when used lpDaemon will
# check for %! as the first two bytes in any file sent to this
# printer, rejecting any that do not have this, and if ACCOUNTING
# is enabled will try to get the number of pages printed.
#
# printing to the printer from a unix machine would use the the command :
#
# lpr -P<name1> files...
#
PRINTER pslaser PAP "" POSTSCRIPT # default
PRINTER lp PAP "" POSTSCRIPT # default
PRINTER ImageWriter SERIAL ".aout" 9600 10 N 8 # modem port
#
#PRINTER laser2 PAP "Personal LaserWriter NT" POSTSCRIPT #
#PRINTER laser3 PAP "Personal LaserWriter NT:@Zone2" POSTSCRIPT #
#PRINTER hp4m SERIAL ".aout" 9600 10 N 8 POSTSCRIPT
#
#
#######################################################################################
# The following defines the hosts that may print to the daemon. It may be a name or an
# IP number. If it is a name it must be one that can be resolved by MacTCP's DNR
#
HOST host0.domain
HOST 555.555.555.555
HOST host1.domain
HOST host2.domain
HOST host3.domain
HOST host4.domain
HOST host5.domain
HOST host6.domain
HOST host7.domain
#
#######################################################################################
# lpDaemon will attempt to mail the user who printed the file if any errors
# occur. Sometimes the mail server is not the same as the source of
# the print job so lpDaemon understands some simple mail aliasing.
#
# The following are used for mail aliases. If the user is not specified
# it means "any user". It may only be left out on the destination if it
# was also left out of the source. In the first example any user at the
# the machine "host1" will cause mail to be sent to "user1" at "host0"
#
ALIAS @host1 user1@host0
ALIAS @host2 @host9
ALIAS @host3 @host9
ALIAS @host4 @host9
ALIAS @host5 @host9
ALIAS root@host8 user2@host0
#